
{if $list}
<style>
.cp_name {
float: left;
width: 1190px;
height: 32px;
border-bottom: 2px #bbb solid;
text-align:left;
margin-bottom:5px;
}
.cp_name_n {
float: left;
width: 250px;
line-height: 24px;
font-size: 18px;
font-weight: 600;
color: #333;
}
.cp_name_n span {
margin-right: 10px;
font-family: Arial, Helvetica, sans-serif;
}
</style>
<div class="mt10"></div>
<div class="w clearfix" id="{$flag}">
<div class="cp_name"><div class="cp_name_n">{$lc_text}</div></div>
{loop $list $k $item}	 
<div class="lay590   {if $k%2==0} Left {else}Right{/if}" >
	<div class="temai_block">
    	<div class="con">
        	 <a href="{$item['url']}" target="_blank" style="cursor:pointer;">
             <div class="fl Left">
             	<div class="top">
                            <img src="{$item['small_img']}" width="122" height="44" alt="{$item['title']}"><br>
                            <span class="ttit">{$item['title']}</span>
                </div>
                <div class="discount">
                        <span>{$item['zhekou']}</span>起                                                   
                </div>
             </div>
             </a>
             <div class="fr Left">
                    <a href="{$item['url']}" target="_blank">
                        <img src="{$item['big_img']}" alt="{$item['title']}" width="406" height="180">
                    </a>
            </div>
             
    	</div>
         <div class="tit pos">
            	<div class="fl Left"><span id="{$flag}_{$k}">剩余时间：<span class="digital">39</span>天<span class="digital">12</span>时<span class="digital">26</span>分<span class="digital">19</span>秒</span></div>
                
         </div>
        <div class="shadow"></div>
	</div>
</div>	
 <script type="text/javascript">
	Tday['{$flag}_{$k}'] = new Date("{echo date('M d, Y H:i:s', $item['end_time']);}");   
	window.setInterval(function()     
	{clock('{$flag}_{$k}');}, 1000);     
	</script> 					
 	 
{/loop}	
 	 				 				
                                        
</div>
{/if}
